package com.song.util;

import com.song.annotation.SensitiveField;
import org.apache.commons.lang3.ObjectUtils;

import java.lang.reflect.Field;

public class SensitiveUtil {
    public static <T> T encrypt(Field[] fields, T paramsObject){
        for (Field field : fields) {
            SensitiveField sensitiveField = field.getAnnotation(SensitiveField.class);
            if (ObjectUtils.isNotEmpty(sensitiveField)){

            }
        }
        return paramsObject;
    }
}
